<?php
namespace StrategyPattern\Strategy;

use StrategyPattern\StrategyInterface;

include_once "StrategyInterface.php";
/** 具体策略类B */
class ConcreteStrategyB implements StrategyInterface
{

    /**
     * @inheritDoc
     */
    public function algorithm()
    {
        echo "算法B策略实现";
    }
}